//
//  LCZrightColumnCell.m
//  PersonalNews
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 changshuhua. All rights reserved.
//

#import "LCZrightColumnCell.h"

@implementation LCZrightColumnCell



- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.picImageView = [[LCZBaseImageView alloc]init];
        [self.contentView addSubview:self.picImageView];
        
        self.titleLabel = [[LCZBaseLabel alloc]init];
        [self.contentView addSubview:self.titleLabel];
        
        self.lineView = [[LCZBaseView alloc]init];
        [self.contentView addSubview:self.lineView];
        
        self.dingLabel = [[LCZBaseLabel alloc]init];
        [self.contentView addSubview:self.dingLabel];
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.titleLabel.frame = CGRectMake(80, 15, self.contentView.frame.size.width - 80, 30);
    self.titleLabel.font = [UIFont systemFontOfSize:20];
    
    self.dingLabel.frame = CGRectMake(80, 50, self.contentView.frame.size.width - 80, 20);
    self.dingLabel.font = [UIFont systemFontOfSize:12];
    self.dingLabel.textColor = [UIColor colorWithRed:0.62 green:0.62 blue:0.62 alpha:1];
    
    self.picImageView.frame = CGRectMake(10, 10, 60, 60);
    self.picImageView.backgroundColor = [UIColor orangeColor];
    
    self.lineView.frame = CGRectMake(0, 0, 1, self.contentView.frame.size.height);
    self.lineView.backgroundColor = [UIColor colorWithRed:0.62 green:0.62 blue:0.62 alpha:1];

}

@end
